int[] a = {1,2,3,4,5};
int[] b = {1,2,3,4,5};
System.out.println("int array compare equal?" + Arrays.equal(c,d));
Integer c[] = {new Integer(1),new Integer(3)};
Integer d[] = {new Integer(1),new Integer(3)};
System.out.println("Integer array compare equal?" + Arrays.equal(c,d));
Integer e[] = {1,3};//auto boxing
Integer f[] = {new Integer(1),new Integer(3)};
System.out.println("Integer array of autoBoxing and common Integer array:" + Arrays.equals(e,f);
//	int g[] = {1,3}
//	Integer h[] = {new Integer(1),new Integer(3)};
//	System.out.println(Arrays.equals(h,g);//compile erro
